﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000877 RID: 2167
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetUpdatedArchiveDataScRsp : IMessage<GetUpdatedArchiveDataScRsp>, IMessage, IEquatable<GetUpdatedArchiveDataScRsp>, IDeepCloneable<GetUpdatedArchiveDataScRsp>, IBufferMessage
	{
		// Token: 0x17001B4E RID: 6990
		// (get) Token: 0x060060DA RID: 24794 RVA: 0x00101A9D File Offset: 0x000FFC9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetUpdatedArchiveDataScRsp> Parser
		{
			get
			{
				return GetUpdatedArchiveDataScRsp._parser;
			}
		}

		// Token: 0x17001B4F RID: 6991
		// (get) Token: 0x060060DB RID: 24795 RVA: 0x00101AA4 File Offset: 0x000FFCA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetUpdatedArchiveDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B50 RID: 6992
		// (get) Token: 0x060060DC RID: 24796 RVA: 0x00101AB6 File Offset: 0x000FFCB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetUpdatedArchiveDataScRsp.Descriptor;
			}
		}

		// Token: 0x060060DD RID: 24797 RVA: 0x00101ABD File Offset: 0x000FFCBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetUpdatedArchiveDataScRsp()
		{
		}

		// Token: 0x060060DE RID: 24798 RVA: 0x00101AC8 File Offset: 0x000FFCC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetUpdatedArchiveDataScRsp(GetUpdatedArchiveDataScRsp other) : this()
		{
			this.archiveData_ = ((other.archiveData_ != null) ? other.archiveData_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060060DF RID: 24799 RVA: 0x00101B14 File Offset: 0x000FFD14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetUpdatedArchiveDataScRsp Clone()
		{
			return new GetUpdatedArchiveDataScRsp(this);
		}

		// Token: 0x17001B51 RID: 6993
		// (get) Token: 0x060060E0 RID: 24800 RVA: 0x00101B1C File Offset: 0x000FFD1C
		// (set) Token: 0x060060E1 RID: 24801 RVA: 0x00101B24 File Offset: 0x000FFD24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ArchiveData ArchiveData
		{
			get
			{
				return this.archiveData_;
			}
			set
			{
				this.archiveData_ = value;
			}
		}

		// Token: 0x17001B52 RID: 6994
		// (get) Token: 0x060060E2 RID: 24802 RVA: 0x00101B2D File Offset: 0x000FFD2D
		// (set) Token: 0x060060E3 RID: 24803 RVA: 0x00101B35 File Offset: 0x000FFD35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060060E4 RID: 24804 RVA: 0x00101B3E File Offset: 0x000FFD3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetUpdatedArchiveDataScRsp);
		}

		// Token: 0x060060E5 RID: 24805 RVA: 0x00101B4C File Offset: 0x000FFD4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetUpdatedArchiveDataScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.ArchiveData, other.ArchiveData) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060060E6 RID: 24806 RVA: 0x00101B9C File Offset: 0x000FFD9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.archiveData_ != null)
			{
				num ^= this.ArchiveData.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060060E7 RID: 24807 RVA: 0x00101BF1 File Offset: 0x000FFDF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060060E8 RID: 24808 RVA: 0x00101BF9 File Offset: 0x000FFDF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060060E9 RID: 24809 RVA: 0x00101C04 File Offset: 0x000FFE04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.archiveData_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.ArchiveData);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060060EA RID: 24810 RVA: 0x00101C60 File Offset: 0x000FFE60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.archiveData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ArchiveData);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060060EB RID: 24811 RVA: 0x00101CB8 File Offset: 0x000FFEB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetUpdatedArchiveDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.archiveData_ != null)
			{
				if (this.archiveData_ == null)
				{
					this.ArchiveData = new ArchiveData();
				}
				this.ArchiveData.MergeFrom(other.ArchiveData);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060060EC RID: 24812 RVA: 0x00101D20 File Offset: 0x000FFF20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060060ED RID: 24813 RVA: 0x00101D2C File Offset: 0x000FFF2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.archiveData_ == null)
					{
						this.ArchiveData = new ArchiveData();
					}
					input.ReadMessage(this.ArchiveData);
				}
			}
		}

		// Token: 0x04002529 RID: 9513
		private static readonly MessageParser<GetUpdatedArchiveDataScRsp> _parser = new MessageParser<GetUpdatedArchiveDataScRsp>(() => new GetUpdatedArchiveDataScRsp());

		// Token: 0x0400252A RID: 9514
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400252B RID: 9515
		public const int ArchiveDataFieldNumber = 2;

		// Token: 0x0400252C RID: 9516
		private ArchiveData archiveData_;

		// Token: 0x0400252D RID: 9517
		public const int RetcodeFieldNumber = 11;

		// Token: 0x0400252E RID: 9518
		private uint retcode_;
	}
}
